using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    public class MRPDetailsRequirement
    {
        int detailmanufacturerequirementid;
        string masterrequirementcode;
        string productcode;
        float quantity;
        string unitcode;

        public MRPDetailsRequirement()
        {

        }

        public  int Detailmanufacturerequirementid
        {
            get { return detailmanufacturerequirementid; }
            set { detailmanufacturerequirementid = value; }
        }

        public  string Masterrequirementcode
        {
            get { return masterrequirementcode; }
            set { masterrequirementcode = value; }
        }

        public  string Productcode
        {
            get { return productcode; }
            set { productcode = value; }
        }

        public  float Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public  string Unitcode
        {
            get { return unitcode; }
            set { unitcode = value; }
        }

        public override string ToString()
        {
            String s = "";
            ////if (detailmanufacturerequirementid != null)
            //    s += "detailmanufacturerequirementid : " + detailmanufacturerequirementid.ToString() + "\n";
            ////else
            //// s += "detailmanufacturerequirementid : null\n";
            //if (masterrequirementcode != null)
            //    s += "masterrequirementcode : " + masterrequirementcode.ToString() + "\n";
            //else
            //    s += "masterrequirementcode : null\n";
            //if (productcode != null)
            //    s += "productcode : " + productcode.ToString() + "\n";
            //else
            //    s += "productcode : null\n";
            //if (quantity != null)
            //    s += "quantity : " + quantity.ToString() + "\n";
            //else
            //    s += "quantity : null\n";
            //if (unitcode != null)
            //    s += "unitcode : " + unitcode.ToString() + "\n";
            //else
            //    s += "unitcode : null\n";
            return s;
        }
    }
}
